package com.jcfk.system.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jcfk.common.business.entity.BaseEntity;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@TableName("ref_user_organization_mapping")
public class RefUserOrganizationMapping extends BaseEntity {
    @TableField(value = "user_id")
    @NotBlank(message = "用户id不能为空")
    private String userId;

    @TableField(value = "organization_id")
    @NotBlank(message = "组织id不能为空")
    private String organizationId;

}
